タスク・コメントの追加

post
/tasks/{id}/comments
タスクにコメントを追加します。

次の表に、クライアント・リクエストをまとめます。

サポートされているメディア・タイプ
  • application/json
本文パラメータ
本文パラメータはcommentStrです
application/jsonの例

{
    "commentStr":"This is a new comment"
}

次の表に、サーバー・レスポンスをまとめます。

サポートされているメディア・タイプ
  • application/json
  • application/xml

200 レスポンス

成功
本文
application/jsonの例

{
    "levels":0,
    "links":[
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000",
            "length":0,
            "rel":"back"
        },
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000/comments",
            "length":0,
            "rel":"self"
        }
    ],
    "comment":[
        {
            "commentStr":"This is my first comment",
            "updatedBy":"John Steinbeck",
            "userId":"jstein",
            "updateddDate":"2015-03-24 00:55:28"
        }
    ]
}